<?php
include_once '../common_mbs.inc.php';
include_once '../smarty.inc.php';

//判断访问权限
$admin_index_module_obj = new osgh_admin_index_module_cls();
$is_warrant = $admin_index_module_obj->is_have_warrant($_ADMIN_ID,'order_list');
if(!$is_warrant) tcmc_cls::ShowMsg("没有权限访问！", "../index_body.html");

$act = trim($_INPUT['act']);
$order_id = $_INPUT['order_id'];
$order_obj = new order_cls();
if($act == 'getinfo'){	
	$order_list = $order_obj->get_order_info($order_id);
	$smarty->assign('order_list',$order_list);
	$smarty->display('order/save_order.tpl');
}

if($act =='remind')
{
	$order_count = $order_obj->get_order_list(true, "order_status=2 or order_status=3", '', '');
	if($order_count > 0 )
	{
		echo 1;
	}
	else
    {
		echo 0;
	}
}
?>
